home *** CD-ROM | disk | FTP | other *** search
INSTALL Professional project | 1994-04-23 | 10.4 KB | 442 lines |
- @DefineProject
- @Name = "DOCZ"
- @Version = "1.6"
- @OutDrive = Z
- @Group = "A"
- @Subdir = "\\"
- @EndProject
-
- @DefineVars
- @Drive @WINdrive = C
- @Dir @BINdir = "\\BIN\\" /* directory type */
- @Dir @REFdir = "\\DOCREF\\"
- @Dir @SRCdir = "\\DOCSRC\\"
- @Dir @WINdir = "\\WINDOWS\\"
- @EndVars
-
- @Display
- @Cls DDDDD OOO CCCC ZZZZZZZ
- DD DD OO OO CC CC ZZ
- DD DD OO OO CC ZZ
- DD DD OO OO CC ZZ
- DD DD OO OO CC ZZ
- DD DD OO OO CC CC ZZ
- DDDDD OOO CCCC ZZZZZZZ TM
- Shareware
- I N S T A L L A T I O N
-
-
- This program will install @Name Version @Version on your computer
- system and verify the integrity of the distribution media.
- You may press the [Esc] key at any time to abort the installation.
- The @Name INSTALL will ask you several questions about the
- directories you wish to use to install @Name to.
-
- In pull-down menus displayed in this program, the blinking menu
- choice is the current choice (the choice selected with the
- [RETURN] key).
-
- @Pause
- @Cls
- DOCZ is Copyright 1990, Software Toolz, Inc, Ball Ground, Georgia.
- All Rights Reserved Worldwide.
-
- DOCZ is a trademark of Software Toolz, Inc.
-
- The INSTALL program itself is Copyright (c) 1987-1990
- Knowledge Dynamics Corp,Canyon Lake, TX 78133-3508 (USA)
- All Rights Reserved Worldwide
-
-
-
-
-
-
-
-
- @Pause
- @EndDisplay
-
- @GetOutDrive
- @Suppress A /* don't display A: */
- @Suppress B /* or B: */
- @Cls
- On which disk drive do you wish to install @Name:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- The drive on which DOCZ is installed will need about 1.3M
- free space.
-
- Use the [Up Arrow], [Down Arrow], [Pg Up], & [Pg Dn] keys to move
- the bar to the disk drive you wish to install to and then press
- the [Enter] key. The blinking menu bar is the current selection.
- @EndOutDrive
-
- @Display
- @Cls Your system configuration:
-
- DOS Version: @OSMajor.@OSMinor
- Conventional DOS memory free: @RAMAvail
- Input drive: @InDrive
- Output drive: @OutDrive
- You are running on an 80@CPU CPU
-
-
-
-
-
-
-
-
-
-
-
-
-
- @Pause
- @EndDisplay
-
- @GetSubdir @BINdir
- @Cls
-
- Now you need to specify the destination subdirectory for programs.
- This subdirectory is the location on your disk where the @Name
- programs will be installed and should be a directory that is
- included in your search path.
-
- @Prompt = " Which subdirectory ([Enter] = @BINdir\\)? "
- @EndSubdir
-
- @GetSubdir @REFdir
- @Cls
-
- Now you need to specify the reference subdirectory (DOCREF).
- This subdirectory is the location on your disk where the
- @Name system reference files will be installed.
-
- @Prompt = " Which subdirectory ([Enter] = @REFdir\\)? "
- @EndSubdir
-
- @GetSubdir @SRCdir
- @Cls
-
- Now you need to specify the Default Source Directory (DOCSRC).
- It is the root directory for sub-directories that will contain your
- source code. This sub-directory will be created, and the examples
- provided with the system will be placed in this subdirectory.
-
- @Prompt = " Which subdirectory ([Enter] = @SRCdir\\)? "
- @EndSubdir
-
- @If (@Exists "@OutDrive:@REFdir\\docz.cfg")
- @GetOption
- @OutDrive:@REFdir\\DOCZ.CFG already exists.
-
-
-
-
-
-
-
-
-
-
-
-
-
- It is assumed that this installation session is a
- re-installation or upgrade of @Name, and the DOCZ
- Configuration File may have been personalized for an
- earlier installation of DOCZ.
-
- Do you wish to write over the prior version?
- @Option 3 = "YES"
- @Option 4 = "NO"
- @EndOption
- @Else
- @If (@DiskFree @OutDrive < 1300000)
- @Display
- @Cls
-
- The Selected output drive only has @DiskFree @OutDrive
- bytes available. @Name @Version requires approximately
- 1300000 bytes to install.
-
-
-
-
-
-
-
-
-
-
- The installation will now be aborted to
- avoid filling-up drive @OutDrive.
-
- @Abort
- @EndDisplay
- @Endif
- @Endif
-
- @If (@RAMAvail > 550k)
- @GetOption
- @Cls
- Do you wish to build the sample DOCZ library?
-
-
-
-
-
-
-
-
-
-
-
-
-
- @Name provides a sample C function documentation library that can
- be built automatically on your system using the directories you
- have specified for DOCSRC and DOCREF.
-
- @Option 1 = "YES"
- @Option 2 = "NO"
- @EndOption
- @EndIf
-
- @GetOption
- @Cls
- Would you like the C Standard Library on-line help installed?
-
-
-
-
-
-
-
-
-
-
-
-
-
- @Name includes an on-line help library for the C language
- Standard Library. This help library can be combined with
- the on-line help library for DOCZ, and with your own on-line
- help libraries.
-
- @Option 7 = "YES"
- @Option 8 = "NO"
- @EndOption
-
- @GetOption
- @Cls
- Would you like to run the DOCZ tutorial at the
- end of the installation?
-
-
-
-
-
-
-
-
-
-
-
-
-
- @Name includes an on-line tutorial that will navigate you
- through the steps to building a DOCZ documentation library.
-
- @Option 9 = "YES"
- @Option 10 = "NO"
- @EndOption
-
- @GetOption
- @Cls
- Would you like to run the DOCZ PIF files installed
- in your Windows directory?
-
-
-
-
-
-
-
-
-
-
-
-
-
- @Name PIF files are included if you wish to run the
- DOCZ programs under MS-Windows.
-
- @Option 11 = "YES"
- @Option 12 = "NO"
- @EndOption
-
- @If(11 [= @Option) /* install the Windows PIF files */
- @GetOutDrive @WINdrive
- Please specify the Drive containing your Windows
- installation.
- @EndOutDrive
- @GetSubdir @WINdir
- Please specify your Windows directory for the installation
- of the @Name PIF files.
- @Prompt = " Which subdirectory ([Enter] = @WINdir\\)? "
- @EndSubdir
- @EndIf /* Windows PIFs */
-
- @SetAutoexec
- @AskOverwrite
- @SetReplace("DOCSRC","@OutDrive:@SRCdir")
- @SetReplace("DOCREF","@OutDrive:@REFdir")
- @EndAutoexec
-
- @SetConfig
- @AskOverwrite
- @Files = 30
- @EndConfig
-
- @DefineDisk
- @Label = "DOCZ Distribution Media"
-
- @BeginLib DOCZ
- @File *.exe @Out @BINdir\*.*
- @File pcode.dat @Out @REFdir\*.*
- @File docman.dat @Out @REFdir\*.*
- @File doclearn.dat @Out @REFdir\*.*
- @File revlist.dat @Out @REFdir\*.*
- @If(4 [! @Option)
- @File docz.cfg @Out @REFdir\*.*
- @Endif
- @File dochelp.m @Out @SRCdir\*.*
- @File dochead.cb @Out @SRCdir\*.*
- @File fake.bas @Out @SRCdir\*.*
- @File move.bat @Out @SRCdir\*.*
- @File cmdline.pas @Out @SRCdir\*.*
- @File strmcpy.asm @Out @SRCdir\*.*
- @File strmcpy.mar @Out @SRCdir\*.*
- @File strmcpy.c @Out @SRCdir\*.*
- @File mailfile.com @Out @SRCdir\*.*
- @File cp_r.sh @Out @SRCdir\*.*
- @File upcase.for @Out @SRCdir\*.*
- @File dochelp.txt @Out @SRCdir\*.*
- @File macro.h @Out @SRCdir\*.*
- @File docrevs.com @Out @SRCdir\*.*
- @File docrevs.sh @Out @SRCdir\*.*
- @File docstash @Out @SRCdir\*.*
- @File docstash.com @Out @SRCdir\*.*
- @File docz16.doc @Out @SRCdir\*.*
- @File readme.1st @Out @SRCdir\*.*
- @File dochead.txt @Out @SRCdir\*.*
- @File c.txt @Out @SRCdir\*.*
- @File gtsa.prg @Out @SRCdir\*.*
- @File haspriv.c @Out @SRCdir\*.*
- @File insert.mar @Out @SRCdir\*.*
- @File delstr.asm @Out @SRCdir\*.*
- @File zero.c @Out @SRCdir\*.*
- @File juldate.c @Out @SRCdir\*.*
- @File macros.h @Out @SRCdir\*.*
- @File bldocz.bat @Out @SRCdir\*.*
- @File getstart.doc @Out @SRCdir\*.*
- @File update.doc @Out @SRCdir\*.*
- @File frank.prl @Out @SRCdir\*.*
- @If(11 [= @Option)
- @File *.pif @Out @WINdrive:@WINdir\*.*
- @Endif
- @EndLib
- @EndDisk
-
- @Finish
- @Cls
- @ChDrive @OutDrive
- @ChDir "@BINdir"
- Creating the on-line help library for DOCZ
- using the DOCHBLD program...
- @If(7 [= @Option)
- @System "dochbld /ai=@OutDrive:@SRCdir\\dochelp.txt,@OutDrive:@SRCdir\\c.txt /z=docref=@OutDrive:@REFdir"
- @Else
- @System "dochbld /ai=@OutDrive:@SRCdir\\dochelp.txt /z=docref=@OutDrive:@REFdir"
- @EndIf
- @System "echo REM DOCZ Symbols>@OutDrive:@BINdir\\docz_sym.bat"
- @System "echo SET DOCSRC=@OutDrive:@SRCdir>>@OutDrive:@BINdir\\docz_sym.bat"
- @System "echo SET DOCREF=@OutDrive:@REFdir>>@OutDrive:@BINdir\\docz_sym.bat"
-
- @If(1 [= @Option)
- Creating the sample C function library...
- @System "mkdir @OutDrive:@SRCdir\\csub"
- @System "COPY @OutDrive:@SRCdir\\HASPRIV.C @OutDrive:@SRCdir\\csub"
- @System "del @OutDrive:@SRCdir\\HASPRIV.C"
- @System "COPY @OutDrive:@SRCdir\\INSERT.MAR @OutDrive:@SRCdir\\csub"
- @System "del @OutDrive:@SRCdir\\INSERT.MAR"
- @System "COPY @OutDrive:@SRCdir\\DELSTR.ASM @OutDrive:@SRCdir\\csub"
- @System "del @OutDrive:@SRCdir\\DELSTR.ASM"
- @System "COPY @OutDrive:@SRCdir\\ZERO.C @OutDrive:@SRCdir\\csub"
- @System "del @OutDrive:@SRCdir\\ZERO.C"
- @System "COPY @OutDrive:@SRCdir\\JULDATE.C @OutDrive:@SRCdir\\csub"
- @System "del @OutDrive:@SRCdir\\JULDATE.C"
- @System "COPY @OutDrive:@SRCdir\\macros.h @OutDrive:@SRCdir\\csub"
- @System "del @OutDrive:@SRCdir\\macros.h"
- @System "doclis @OutDrive:@SRCdir\\csub\\*.* /z=docref=@OutDrive:@REFdir /c"
- @System "dochbld /ao=csub.txt /z=docref=@OutDrive:@REFdir /z=docsrc=@OutDrive:@SRCdir"
- @If(7 [= @Option)
- @System "dochbld /ai=csub.txt,@OutDrive:@SRCdir\\dochelp.txt,@OutDrive:@SRCdir\\c.txt /z=docref=@OutDrive:@REFdir"
- @Else
- @System "dochbld /ai=csub.txt,@OutDrive:@SRCdir\\dochelp.txt /z=docref=@OutDrive:@REFdir"
- @EndIf
- @System "del csub.txt"
- @System "doc csub /z=docref=@OutDrive:@REFdir /z=docsrc=@OutDrive:@SRCdir"
- @System "copy csub.doc @OutDrive:@SRCdir"
- @System "del csub.doc"
- @EndIf
- @If(9 [= @Option)
- Running the DOCZ on-line tutorial...
-
- @System "doclearn /z=docref=@OutDrive:@REFdir"
- @Pause
- @Endif
-
- @Cls
- The @Name installation has completed ...
-
- To use the DOCZ System, the DOCSRC and DOCREF environment variables
- must be defined. This installation program has added the necessary
- statements to your AUTOEXEC.BAT file to define DOCSRC and DOCREF. The
- next time your computer is started, the requisite variables will be
- defined. The symbols can also be defined by running DOCZ_SYM.BAT
- which will be in the current directory when this installation
- procedure is exited.
-
- The DOCLEARN program is an interactive on-line tutorial for DOCZ.
- DOCLEARN will help you to become familiar with the capabilities
- of DOCZ quickly.
-
- The DOCMAN program is the interactive on-line User Manual for DOCZ.
-
- Please read the @Name @Version registration requirements in:
- @SRCdir\README.1ST.
-
- Enjoy using DOCZ! Your comments will be appreciated.
-
- @Pause
- @EndFinish
-
- /* end-of-file */
-
-